home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20020314-20021006
/
000364_fdc@columbia.edu_Mon Sep 16 09:54:21 EDT 2002.msg
< prev
next >
Wrap
Text File
|
2020-01-01
|
2KB
|
52 lines
Article: 13697 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: scripting to a serial sms modem - idiot question!
Date: 16 Sep 2002 09:54:14 -0400
Organization: Columbia University
Lines: 35
Message-ID: <am4nq6$p5i$1@watsol.cc.columbia.edu>
References: <e516d9ec.0209160537.450ca7b@posting.google.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1032184455 5374 128.59.39.139 (16 Sep 2002 13:54:15 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 16 Sep 2002 13:54:15 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13697
In article <e516d9ec.0209160537.450ca7b@posting.google.com>,
Mark Swarbrick <mswarbrick@rentokil.com> wrote:
: I have a seimens sms modem connected to /dev/ttyS0 and i can
: communicate with it fine on the command line.
:
: A website is created to allow users on our intranet to sms other
: users, so it's simply two dialogue boxes with the number and the
: message. This then gets written to a file which is called in the
: script and wrapped with the necessary commands.
:
: All i need to be run is this script
:
: <start kermit>
: set modem type usr
: set line /dev/ttyS0
: set speed 9600
: set carrier-watch off
: connect
: at+cmgf=1
: at+cmgs="+44123456789"
: <send ctrl+z>
: <then exit cleanly out of kermit>
:
: How can i do this as kermit goes into interactive mode as soon as i
: issue the connect command! How can i automate this?
:
This is definitely THE Most Frequently Asked Question about Kermit
scripting. It's answered here:
http://www.columbia.edu/kermit/ckscripts.html
Read it, finish your script, then send it in and we'll include it in the
script library since SMS seems to be such a popular service these days.
- Frank